package org.opens.mybatisplus.service.impl;

import org.opens.mybatisplus.dao.JacksonIgnoreDao;
import org.opens.mybatisplus.pojo.JacksonIgnoreDO;
import org.opens.mybatisplus.service.JacksonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "jacksonService")
public class JacksonServiceImpl implements JacksonService {

    @Autowired
    private JacksonIgnoreDao jacksonIgnoreDao;

    @Override
    public List<JacksonIgnoreDO> listOfAll() {
        return jacksonIgnoreDao.selectList(null);
    }
}
